package com.bzkj.basicinfo.domain.ncc;

import com.bzkj.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.data.annotation.Transient;

import java.util.Date;

/**
 * NCC仓库信息
 */
@Data
public class NccBasicStoStock extends BaseEntity
{
    /**
     * 仓库代码
     */
    private String code;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date creationtime;

    /**
     * 创建人
     */
    private String creator;


    private String csflag;

    @Transient
    private String dataoriginflag;


    private String deF1;


    private String deF2;


    private String deF3;


    private String deF4;

    @Transient
    private String deF5;

    @Transient
    private String dr;

    /**
     * 启用标识：1禁用，2启用
     */
    private String enablestate;


    private String gubflag;

    @Transient
    private String isagentstore;

    @Transient
    private String isatpaffected;

    @Transient
    private String iscalculatedinvcost;

    @Transient
    private String iscommissionout;

    @Transient
    private String isdirectstore;

    @Transient
    private String isobligate;

    @Transient
    private String isretail;

    @Transient
    private String isshopstore;

    @Transient
    private String isstoreontheway;

    @Transient
    private Date modifiedtime;

    @Transient
    private String modifier;

    @Transient
    private String mrpflag;

    /**
     * 仓库名称
     */
    private String name;

    @Transient
    private String operatesupplier;

    @Transient
    private String pK_ADDRESS;

    /**
     * 所属集团
     */
    private String pK_GROUP;

    /**
     * 所属企业
     */
    private String pK_ORG;

    private String pkOrgName;

    /**
     * 仓库唯一标识
     */
    private String pK_STORDOC;

    private String pkStoDoc;

    @Transient
    private String principalcode;

    @Transient
    private String profitcentre;

    @Transient
    private String proflag;

    @Transient
    private String storaddr;

    @Transient
    private Date ts;


    public String getCode()
    {
        return code;
    }

    public void setCode(String code)
    {
        this.code = code;
    }

    public Date getCreationtime()
    {
        return creationtime;
    }

    public void setCreationtime(Date creationtime)
    {
        this.creationtime = creationtime;
    }

    public String getCreator()
    {
        return creator;
    }

    public void setCreator(String creator)
    {
        this.creator = creator;
    }

    public String getCsflag()
    {
        return csflag;
    }

    public void setCsflag(String csflag)
    {
        this.csflag = csflag;
    }

    public String getDataoriginflag()
    {
        return dataoriginflag;
    }

    public void setDataoriginflag(String dataoriginflag)
    {
        this.dataoriginflag = dataoriginflag;
    }

    public String getDeF1()
    {
        return deF1;
    }

    public void setDeF1(String deF1)
    {
        this.deF1 = deF1;
    }

    public String getDeF2()
    {
        return deF2;
    }

    public void setDeF2(String deF2)
    {
        this.deF2 = deF2;
    }

    public String getDeF3()
    {
        return deF3;
    }

    public void setDeF3(String deF3)
    {
        this.deF3 = deF3;
    }

    public String getDeF4()
    {
        return deF4;
    }

    public void setDeF4(String deF4)
    {
        this.deF4 = deF4;
    }

    public String getDeF5()
    {
        return deF5;
    }

    public void setDeF5(String deF5)
    {
        this.deF5 = deF5;
    }

    public String getDr()
    {
        return dr;
    }

    public void setDr(String dr)
    {
        this.dr = dr;
    }

    public String getEnablestate()
    {
        return enablestate;
    }

    public void setEnablestate(String enablestate)
    {
        this.enablestate = enablestate;
    }

    public String getGubflag()
    {
        return gubflag;
    }

    public void setGubflag(String gubflag)
    {
        this.gubflag = gubflag;
    }

    public String getIsagentstore()
    {
        return isagentstore;
    }

    public void setIsagentstore(String isagentstore)
    {
        this.isagentstore = isagentstore;
    }

    public String getIsatpaffected()
    {
        return isatpaffected;
    }

    public void setIsatpaffected(String isatpaffected)
    {
        this.isatpaffected = isatpaffected;
    }

    public String getIscalculatedinvcost()
    {
        return iscalculatedinvcost;
    }

    public void setIscalculatedinvcost(String iscalculatedinvcost)
    {
        this.iscalculatedinvcost = iscalculatedinvcost;
    }

    public String getIscommissionout()
    {
        return iscommissionout;
    }

    public void setIscommissionout(String iscommissionout)
    {
        this.iscommissionout = iscommissionout;
    }

    public String getIsdirectstore()
    {
        return isdirectstore;
    }

    public void setIsdirectstore(String isdirectstore)
    {
        this.isdirectstore = isdirectstore;
    }

    public String getIsobligate()
    {
        return isobligate;
    }

    public void setIsobligate(String isobligate)
    {
        this.isobligate = isobligate;
    }

    public String getIsretail()
    {
        return isretail;
    }

    public void setIsretail(String isretail)
    {
        this.isretail = isretail;
    }

    public String getIsshopstore()
    {
        return isshopstore;
    }

    public void setIsshopstore(String isshopstore)
    {
        this.isshopstore = isshopstore;
    }

    public String getIsstoreontheway()
    {
        return isstoreontheway;
    }

    public void setIsstoreontheway(String isstoreontheway)
    {
        this.isstoreontheway = isstoreontheway;
    }

    public Date getModifiedtime()
    {
        return modifiedtime;
    }

    public void setModifiedtime(Date modifiedtime)
    {
        this.modifiedtime = modifiedtime;
    }

    public String getModifier()
    {
        return modifier;
    }

    public void setModifier(String modifier)
    {
        this.modifier = modifier;
    }

    public String getMrpflag()
    {
        return mrpflag;
    }

    public void setMrpflag(String mrpflag)
    {
        this.mrpflag = mrpflag;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getOperatesupplier()
    {
        return operatesupplier;
    }

    public void setOperatesupplier(String operatesupplier)
    {
        this.operatesupplier = operatesupplier;
    }

    public String getpK_ADDRESS()
    {
        return pK_ADDRESS;
    }

    public void setpK_ADDRESS(String pK_ADDRESS)
    {
        this.pK_ADDRESS = pK_ADDRESS;
    }

    public String getpK_GROUP()
    {
        return pK_GROUP;
    }

    public void setpK_GROUP(String pK_GROUP)
    {
        this.pK_GROUP = pK_GROUP;
    }

    public String getpK_ORG()
    {
        return pK_ORG;
    }

    public void setpK_ORG(String pK_ORG)
    {
        this.pK_ORG = pK_ORG;
    }

    public String getpK_STORDOC()
    {
        return pK_STORDOC;
    }

    public void setpK_STORDOC(String pK_STORDOC)
    {
        this.pK_STORDOC = pK_STORDOC;
    }

    public String getPkStoDoc() {
        return pkStoDoc;
    }

    public void setPkStoDoc(String pkStoDoc) {
        this.pkStoDoc = pkStoDoc;
    }

    public String getPrincipalcode()
    {
        return principalcode;
    }

    public void setPrincipalcode(String principalcode)
    {
        this.principalcode = principalcode;
    }

    public String getProfitcentre()
    {
        return profitcentre;
    }

    public void setProfitcentre(String profitcentre)
    {
        this.profitcentre = profitcentre;
    }

    public String getProflag()
    {
        return proflag;
    }

    public void setProflag(String proflag)
    {
        this.proflag = proflag;
    }

    public String getStoraddr()
    {
        return storaddr;
    }

    public void setStoraddr(String storaddr)
    {
        this.storaddr = storaddr;
    }

    public Date getTs()
    {
        return ts;
    }

    public void setTs(Date ts)
    {
        this.ts = ts;
    }

    @Override
    public String toString()
    {
        return "NccBasicStoStock{" + "code='" + code + '\'' + ", creationtime=" + creationtime + ", creator='" + creator + '\'' + ", csflag='" + csflag + '\'' + ", dataoriginflag='" + dataoriginflag + '\'' + ", deF1='" + deF1 + '\'' + ", deF2='" + deF2 + '\'' + ", deF3='" + deF3 + '\'' + ", deF4='" + deF4 + '\'' + ", deF5='" + deF5 + '\'' + ", dr='" + dr + '\'' + ", enablestate='" + enablestate + '\'' + ", gubflag='" + gubflag + '\'' + ", isagentstore='" + isagentstore + '\'' + ", isatpaffected='" + isatpaffected + '\'' + ", iscalculatedinvcost='" + iscalculatedinvcost + '\'' + ", iscommissionout='" + iscommissionout + '\'' + ", isdirectstore='" + isdirectstore + '\'' + ", isobligate='" + isobligate + '\'' + ", isretail='" + isretail + '\'' + ", isshopstore='" + isshopstore + '\'' + ", isstoreontheway='" + isstoreontheway + '\'' + ", modifiedtime=" + modifiedtime + ", modifier='" + modifier + '\'' + ", mrpflag='" + mrpflag + '\'' + ", name='" + name + '\'' + ", operatesupplier='" + operatesupplier + '\'' + ", pK_ADDRESS='" + pK_ADDRESS + '\'' + ", pK_GROUP='" + pK_GROUP + '\'' + ", pK_ORG='" + pK_ORG + '\'' + ", pK_STORDOC='" + pK_STORDOC + '\''+ ", pkStoDoc='" + pkStoDoc + '\'' + ", principalcode='" + principalcode + '\'' + ", profitcentre='" + profitcentre + '\'' + ", proflag='" + proflag + '\'' + ", storaddr='" + storaddr + '\'' + ", ts=" + ts + '}';
    }

    public NccBasicStoStock()
    {
    }

    public NccBasicStoStock(String code, Date creationtime, String creator, String csflag, String dataoriginflag, String deF1, String deF2, String deF3, String deF4, String deF5, String dr, String enablestate, String gubflag, String isagentstore, String isatpaffected, String iscalculatedinvcost, String iscommissionout, String isdirectstore, String isobligate, String isretail, String isshopstore, String isstoreontheway, Date modifiedtime, String modifier, String mrpflag, String name, String operatesupplier, String pK_ADDRESS, String pK_GROUP, String pK_ORG, String pK_STORDOC,String pkStoDoc, String principalcode, String profitcentre, String proflag, String storaddr, Date ts)
    {
        this.code = code;
        this.creationtime = creationtime;
        this.creator = creator;
        this.csflag = csflag;
        this.dataoriginflag = dataoriginflag;
        this.deF1 = deF1;
        this.deF2 = deF2;
        this.deF3 = deF3;
        this.deF4 = deF4;
        this.deF5 = deF5;
        this.dr = dr;
        this.enablestate = enablestate;
        this.gubflag = gubflag;
        this.isagentstore = isagentstore;
        this.isatpaffected = isatpaffected;
        this.iscalculatedinvcost = iscalculatedinvcost;
        this.iscommissionout = iscommissionout;
        this.isdirectstore = isdirectstore;
        this.isobligate = isobligate;
        this.isretail = isretail;
        this.isshopstore = isshopstore;
        this.isstoreontheway = isstoreontheway;
        this.modifiedtime = modifiedtime;
        this.modifier = modifier;
        this.mrpflag = mrpflag;
        this.name = name;
        this.operatesupplier = operatesupplier;
        this.pK_ADDRESS = pK_ADDRESS;
        this.pK_GROUP = pK_GROUP;
        this.pK_ORG = pK_ORG;
        this.pK_STORDOC = pK_STORDOC;
        this.pkStoDoc = pkStoDoc;
        this.principalcode = principalcode;
        this.profitcentre = profitcentre;
        this.proflag = proflag;
        this.storaddr = storaddr;
        this.ts = ts;
    }
}
